import {
  get,
  post,
   del,
   put
} from '../utils/httplog'
// 页面管理
export function deptslist() {
  return get(`/depts/findAll`)
}
export function deptsgetById(id) {
  return get(`/depts/getById/${id}`)
}
export function deptsadd(pamas) {
  return post(`/depts/add`,pamas)
}
export function deptsupdate(pamas) {
  return put(`/depts/update`,pamas)
}
export function deptsdelete(id) {
  return del(`/depts/delete?id=${id}`)
}
